package com.tinem.platform.service.security.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.time.Duration;
import java.util.Map;

@Data
@Configuration
@ConfigurationProperties(prefix = "client")
public class ClientConfiguration {

    Map<String,Config> config;

    @Data
    public static class Config{

        /**
         * 邮件发送方
         */
        Duration effectiveTime;
    }

}